package com.aka.tools 
{
	import flash.display.Stage;
	/**
	 * ...
	 * @author Huhanpeng
	 */
	public class Store 
	{
		private static var _stage:Stage;
		
		public static function set stage(stage:Stage):void
		{
			_stage = stage;
		}
		
		public static function get stage():Stage
		{
			if ( _stage == null ) 
			{
				throw new Error( "stage为空,调用前应先把stage传入Store.stage" )
			}
			return _stage;
		}
		
		public function Store() 
		{
			
		}
		
	}

}